import requests from "@/utils/request";

export function Login(params: Object) {
    return requests({
        url: '/user/doLogin',
        method: 'post',
        data:params
    })
}

export function logout() {
    return requests({
        url: '/logout',
        method:'get'
    })
}